import Vue from 'vue'
import VueRouter from 'vue-router'
import ScreenPage from "@/views/ScreenPage.vue"
import Test from "@/views/Test.vue"

Vue.use(VueRouter)

const routes = [
  {
    path: "/",
    redirect: "/screen"
  },
  {
    path: "/screen",
    name: "ScreenPage",
    component: ScreenPage
  },
  {
    path: "/test",
    name: "Test",
    component: Test
  }
]

const router = new VueRouter({
  routes
})

export default router
